public class Product implements IProduct {
	private IProductPart productFirstPart;
	private IProductPart productSecondPart;
	private IProductPart productThirdPart;

	@Override
	public void installFirstPart(IProductPart body) {
		productFirstPart = body;
		System.out.println("Установлена комплектующая в productFirstPart");
	}

	@Override
	public void installSecondPart(IProductPart chassis) {
		productSecondPart = chassis;
		System.out.println("Установлена комплектующая в productSecondPart");
	}

	@Override
	public void installThridPart(IProductPart motor) {
		productThirdPart = motor;
		System.out.println("Установлена комплектующая в productThirdPart");
	}

	public Product() {

	}

	public IProductPart getProductFirstPart() {
		return productFirstPart;
	}

	public IProductPart getProductSecondPart() {
		return productSecondPart;
	}

	public IProductPart getProductThirdPart() {
		return productThirdPart;
	}
}
